package com.fastCms.business.blueorder.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fastCms.business.blueorder.pojo.entity.BlueMaterial;
import com.fastCms.business.blueorder.pojo.po.BlueMaterialPO;
import com.fastCms.business.blueorder.pojo.po.BlueMaterialSavePO;
import com.fastCms.business.blueorder.pojo.vo.BlueMaterialVO;
import com.fastCms.business.frame.exception.BusinessException;
import com.fastCms.business.frame.pojo.PageParam;
import com.fastCms.business.frame.pojo.po.IdStrPO;
import com.fastCms.business.frame.response.ApiResponse;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 * blue-材料相关 服务类
 * </p>
 *
 * @author quan
 * @since 2024-10-17
 */
public interface BlueMaterialService extends IService<BlueMaterial> {

    PageInfo<BlueMaterialVO> showPage(PageParam<BlueMaterialPO> pageParam);

    ApiResponse<Boolean> delete(IdStrPO param) throws BusinessException;

    Boolean saveOrUpdateMaterial(BlueMaterialSavePO param) throws BusinessException;

}
